Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[202x] Propose adding vk::SampledTexture* types #343

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cassiebeckley
Copy link
Contributor

This proposal adds a set of vk::SampledTexture* types to represent SPIR-V's sampled image types. The intent is to replace and deprecate the [[vk::combinedImageSampler]] annotation.

I have created this with the extension template with the intent of using the fast-track process, as this is a platform-specific feature that is already supported by all Vulkan hardware and drivers, and it does not change any existing language behavior.

This proposal adds a set of `vk::SampledTexture*` types to represent
SPIR-V's sampled image types. The intent is to replace and deprecate the
`[[vk::combinedImageSampler]]` annotation.

I have created this with the extension template with the intent of using
the fast-track process, as this is a platform-specific feature that is
already supported by all Vulkan hardware and drivers, and it does not
change any existing language behavior.
Copy link
Collaborator

@s-perron s-perron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally look good to me. The only other detail is to consider how this will be implemented in clang. We might need a new attribute for the resource handle. See llvm/wg-hlsl#76.

proposals/NNNN-vk-sampled-texture.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants